-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix meson-build global_arguments #4698
base: dev
Are you sure you want to change the base?
Conversation
6d82baa
to
84398aa
Compare
99f8713
to
93b6425
Compare
.github/workflows/subproject.yml
Outdated
- name: Replace branch in wrap-file | ||
run: | | ||
# NOTE: This is a workaround, as meson wrap files cannot be used on remote tracking | ||
git checkout -b ${{ github.ref_name }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To any reviewer: My github-workflow experience is quite limited. I'm therefore not sure, if this workaround is also functional and sufficient in the "push"-case (i.e. what is github.ref_name
in such a case)?
Any experience, or suggestions are highly appreciated!
* Added a CI-task to check if rizin could be used as subproject * Fixed some new global-arguments in meson-build
93b6425
to
f1a7a18
Compare
# TODO: extend to perform actually linking test as well! | ||
tester_source = custom_target('main.c', | ||
command: ['echo', ''' | ||
#include <stdio.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe add rz_core.h
instead of stdio.h
and call rz_cons_printf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just add the changes to the test and i think is ok to merge
Your checklist for this pull request
Detailed description
It happened again...
This makes it (again) impossible to add rizin as subproject.
Test plan
To avoid any further regressions, a CI-Task is proposed herein.
The task really just tests if it is possible to use a branch/PR of rizin as subproject. It (currently) wouldn't check for any linker-problems or API-stability as there is no such guaranty in that setup.
Closing issues
Partially addresses #3454
Also: